<template>
  <div class="main">
    <van-nav-bar title="用户中心" left-text="返回" left-arrow  @click-left="onClickLeft">
    </van-nav-bar>
    <van-cell-group border="true">
      <van-cell style="border-radius:10px;">
        <!-- 使用 title 插槽来自定义标题 -->
        <div style="border-radius:10px">
          <span class="text-overstriking">王天辰</span>
          <div style="float: right;border-radius:10px" border="true">
            <van-button plain round color="#1989fa" size="mini" type="default">
              <template>
                <van-icon size="5" name="passed"></van-icon>
                已认证
              </template>
            </van-button>
          </div>
        </div>
        <div class="text-gray-word">
          13218397775
        </div>
      </van-cell>
    </van-cell-group>
    <van-grid :column-num="2">
      <van-grid-item icon="manager" text="就诊人" />
      <van-grid-item icon="column" text="挂号订单" />
    </van-grid>
    <van-cell  icon="phone-circle">
      <!-- 使用 title 插槽来自定义标题 -->
      <template #title>
        <span class="custom-title">修改登录手机号</span>
      </template>
    </van-cell>
    <van-cell  icon="wechat">
      <!-- 使用 title 插槽来自定义标题 -->
      <template #title>
        <span class="custom-title">绑定微信</span>
      </template>
    </van-cell>
    <van-cell  icon="more">
      <!-- 使用 title 插槽来自定义标题 -->
      <template #title>
        <span class="custom-title">更多</span>
      </template>
    </van-cell>
    <div style="text-align: center"><van-button type="primary">退出登录</van-button></div>
  </div>
</template>

<script>
export default {
  name: 'UserCenter',
  components: {},
  props: [],
  data () {
    return {}
  },
  computed: {},
  created () {
  },
  mounted () {
  },
  watch: {},
  methods: {
    onClickLeft () {
      this.$router.go(-1)
    }
  }
}
</script>

<style scoped lang='less'>

</style>
